import QtQuick 1.0

Component{
	id: dayDelegate



	Item{
		id: delegateItem
		width: 200; height: delegateRow.height + 20

		Rectangle{
			id: delegateRect
			width: parent.width; height: parent.height
			anchors.verticalCenter: delegateItem.verticalCenter
			gradient: Gradient {
			   GradientStop {position: 0.03; color: "#363535"}
			   GradientStop {position: 0.99; color: "#111010"}
			}

			Row{
				id: delegateRow
				anchors.verticalCenter: delegateRect.verticalCenter
				spacing: 10


				Column{
					anchors.verticalCenter: delegateRow.verticalCenter
					Image {
						id: forecastIcon
						width: 64; height: 64
						source: "bkn.jpg"
					}
				}

				Column{

					Text{text: name; font.bold: true; color: "white"}
					Text{text: hilo + temp; font.bold: true; color: "white"}
					Text{text: cond; font.bold: true; color: "white"}
				}
			}

		}




	}

}
